package com.sangmo.boot.auth.core;

import com.sangmo.boot.framework.common.session.UserInterface;
import com.sangmo.boot.framework.common.session.UserSession;

public interface AbstractAuthorizeService<T extends UserInterface> {
    UserSession.Authorize<T> findAuthorize(String identity, String token);
    T doAuthentication(String identity, String password);
    T createIfNotExists(String identity);
}
